package com.hbnu.exception;

import com.hbnu.commonclass.User;
import com.hbnu.object.Person;

/**
 * @author kittychen
 * @date 2025-09-24 10:17
 */
public class ExceptionDemo01 {

    public static void main(String[] args) {
        Object object = new Person();

        User user = (User) object;
        System.out.println(user.getUsername());

    }
}
